#ifndef SPI1_H
#define SPI1_H

#ifdef  __cplusplus
extern "C" {
#endif

#include "py32f0xx_hal.h"

#include "config.h"

extern SPI_HandleTypeDef hspi1;



void spi1_init(void);
void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi);

#ifdef  __cplusplus
}
#endif

#endif // SPI1_H
